package com.leyou.item.servcie;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.common.dto.PageDTO;
import com.leyou.item.entity.Brand;
import com.leyou.pojo.dto.BrandDto;

import java.util.List;

public interface BrandService extends IService<Brand> {
    List<BrandDto> queryBrandByCategoryId(Long categoryId);

    PageDTO<BrandDto> queryBrandByPage(String key, Integer page, Integer rows);

    void saveBrand(BrandDto brandDto);

    void updateBrand(BrandDto brandDto);

    void deleteBrand(Long brandId);
}
